package com.zou.mall.auth.feign;

import com.zou.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("mall-platform")
public interface ThirdPartFeignService {

    @GetMapping(value = "/sms/sendEmail")
    R sendEmail(@RequestParam("email") String email,
                @RequestParam("code") String code);

}
